#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "wifiicon.h"
#include <QGridLayout>
MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);
    WifiIcon *m_WifiIcon=new WifiIcon();
    m_WifiIcon->reStart(true);

    QGridLayout *G_layout=new QGridLayout;
    G_layout->setContentsMargins(0,0,0,0);
    G_layout->addWidget(m_WifiIcon);

    ui->centralwidget->setLayout(G_layout);
}

MainWindow::~MainWindow()
{
    delete ui;
}

